Definition of Periodic Function